package org.byqh.dqeai.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.byqh.dqeai.common.Json;
import org.byqh.dqeai.dto.PkAppRuntimeCategoryDTO;
import org.byqh.dqeai.entity.PkAppRuntimeCategory;
import org.byqh.dqeai.entity.proxy.PkAppRuntimeCategoryProxy;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/apprcat")
@Tag(name = "系统[PkAppRuntimeCategory] - 应用运行时分类管理")
public class PkAppRuntimeCategoryController extends BaseController<PkAppRuntimeCategory, PkAppRuntimeCategoryProxy> {
    /**
     * 查询类别信息列表
     */
    @GetMapping(value = "/")
    public Json<List<PkAppRuntimeCategoryDTO>> list() {
        return this.listImpl(PkAppRuntimeCategoryDTO.class, null);
    }
}